import request from '@/utils/request'

export function getRolePermission(data) {
  return request({
    url: '/permission/findByRoleId',//后端不带项目名的地址
    method: 'get',
    params:data
  })
}
export function environment(data) {
  return request({
    url: '/environment/api', 
    method: 'post',
    params:{area:data}//表单数据
  })
}